package com.jwsoft.manager.common.vo.eduStudentTj;

import com.baomidou.mybatisplus.annotation.TableField;
import com.bifang.assistant.common.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;

/**
 * @Author zhiyuan
 * @Date 2023/7/13 10:37
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduStudentTjRejectedVO", title = "驳回调剂到待审核VO", description = "驳回调剂到待审核VO")
public class EduStudentTjRejectedVO extends BaseVO {

    @NotNull(message = "学生调剂主键不能为空")
    @Schema(name = "studentTjId", title = "学生调剂主键")
    private String studentTjId;

    @NotNull(message = "审核状态不能为空")
    @Schema(name = "authStatus", title = "审核状态")
    private String authStatus;

    @NotNull(message = "permission不能为空")
    @Pattern(regexp ="0|1",message = "控制查询权限只能为0和1")
    @Schema(name = "permission", title = "控制查询权限  0：普通权限  1管理员权限")
    private String permission;

}
